Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JCE: add SecretKeyFactory implementation (PBKDF2) #70

Merged
merged 1 commit into from
Mar 30, 2024

Conversation

cconlon
Copy link
Member

@cconlon cconlon commented Mar 21, 2024

This PR implements SecretKeyFactory inside wolfJCE for the following PBKDF2 algorithm modes:

PBKDF2WithHmacSHA1
PBKDF2WithHmacSHA224
PBKDF2WithHmacSHA256
PBKDF2WithHmacSHA384
PBKDF2WithHmacSHA512
PBKDF2WithHmacSHA3-224
PBKDF2WithHmacSHA3-256
PBKDF2WithHmacSHA3-384
PBKDF2WithHmacSHA3-512

SecretKeyFactory objects are created using:

SecretKeyFactory sf = SecretKeyFactory.getInstance("PBKDF2WithHmacSHA256");

Tests have been added for all algorithm modes above, threaded use, and basic interop.

@cconlon cconlon assigned cconlon and wolfSSL-Bot and unassigned cconlon Mar 21, 2024
@douzzer douzzer merged commit f3bf413 into wolfSSL:master Mar 30, 2024
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants